package com.rent.house.pojo.vo;

import com.rent.house.pojo.entity.Pic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 房源信息VO类（包含图片信息）
 */
@ApiModel("房源信息VO类")
@Data
public class HouseResourceVo {

    @ApiModelProperty("房源ID")
    private Long id;

    @ApiModelProperty("房东ID")
    private Long landlordId;

    @ApiModelProperty("房源标题")
    private String title;

    @ApiModelProperty("房源描述")
    private String description;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("省份")
    private String province;

    @ApiModelProperty("城市")
    private String city;

    @ApiModelProperty("区县")
    private String district;

    @ApiModelProperty("月租金（元）")
    private BigDecimal price;

    @ApiModelProperty("面积（平方米）")
    private BigDecimal area;

    @ApiModelProperty("户型")
    private String roomType;

    @ApiModelProperty("楼层")
    private Integer floor;

    @ApiModelProperty("总楼层")
    private Integer totalFloor;

    @ApiModelProperty("朝向")
    private String orientation;

    @ApiModelProperty("装修情况")
    private String decoration;

    @ApiModelProperty("设施（JSON格式）")
    private String facilities;

    @ApiModelProperty("状态：0-待审核，1-已上架，2-已下架，3-已出租")
    private Integer status;

    @ApiModelProperty("审核状态：0-待审核，1-已通过，2-已拒绝")
    private Integer auditStatus;

    @ApiModelProperty("审核时间")
    private Date auditTime;

    @ApiModelProperty("审核人ID")
    private Long auditUserId;

    @ApiModelProperty("浏览量")
    private Integer viewCount;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("房源图片列表")
    private List<Pic> picList;
}
